home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
examples
/
fac
< prev
next >
Wrap
Text File
|
1995-05-17
|
158b
|
14 lines
//
// Fac.r (the slowest fac(), but the most interesting)
//
fac = function(a)
{
if(a <= 1)
{
return 1;
else
return a*$self(a-1);
}
};